		
		Program Tools 1.2
		

Programmer: David Lindstrm (Cirrus Programming)
Calculator: TI-83 Plus
      Size: PTOOLS=98 bytes, ZLIST=97 bytes, ZRUN=244 bytes
  Language: Z80 assembly
 		
		INTRODUCTION
		

This set of assembler programs allows you to run archived programs, 
(un)archive, (un)lock, delete and list other programs from TI-BASIC
program.


PTOOLS has now been rewritten, and split up in three modules:
ZRUN, PTOOLS, ZLIST. I also have size optimized these programs.

Let's begin with

		
		The ZRUN module
		
This module runs the program whose name is in Str0.
It runs both TI-BASIC and asm programs, even if they are
archived!
Syntax:
"PROGRAM"->Str0
Asm(prgmZRUN)



		
		The PTOOLS module
		
This module performs actions on a program whose name
is in Str0. The Ans variable is used for storing the number
of the function to perform.
___
X=1

Unarchives the program
___
X=2

Archives the program
___
X=3

Locks the program, so that it can't be edited on the calculator.
___
X=4

Unlocks the program.
___
X=5

Deletes the program.

Example: 
Lock a program named "DAVID"
"DAVID"->Str0
3:Asm(prgmPTOOLS)


		
		The ZLIST module
		
ZLIST is used for browsing the program names on the calculator
in alphabetically ascending/descending order. The program name
is placed in Str0, and the function number in Ans. After running
Asm(prgmZLIST), the next program found will be placed in Str0.
If no more programs were found, Str0 will remain intact.



___
X=0

Browse in descending order.
___
X=1

Browse in ascending order.

Example: A program that will browse the programs using the up and down arrows.
[Clear] will exit.
Lbl A
0
Repeat Ans
getKey
End
If Ans=25
0:Asm(prgmZLIST
If Ans=34
1:Asm(prgmZLIST
ClrHome
Disp Str0
If Ans=45
Stop
Goto A



		
		Adresses
		
e-mail: okvin@tiscali.se
homepage: http://cirrus.tigalaxy.com